#include "lh_core.h"


static LH_SYS_INFOR LH_SysInfor;    



void LH_GUI_Init(void)
{
    SSD1963_FSMC_Init();    
    RA8875_Init();          
    XPT2046_Init();         
    TcEveInit();            
    LH_MemInit();          
    
    LH_SysInfor.LH_BackColor = LH_BLACK;    
}



void SetBackColor(LH_U16 color)
{
    LH_SysInfor.LH_BackColor = color;
}



LH_U16 GetBackColor(void)
{
    return LH_SysInfor.LH_BackColor;
}


void SetFormAlterFlag(void)
{
    LH_SysInfor.FormAlterFlag = 1;
}

void CleanFormAlterFlag(void)
{
    LH_SysInfor.FormAlterFlag = 0;
}

LH_U8 GetFormAlterFlag(void)
{
    return LH_SysInfor.FormAlterFlag;
}

